package org.weishe.view.lock;

/**
 * Created by chenbiao on 2015/9/9.
 */
public class CircleView {

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    private int number;//代表的是哪个数字
    private float x;
    private float y;
    private boolean selected = false;//是否被选中

    public CircleView(float x, float y, int number) {
        this.x = x;
        this.y = y;
        this.number = number;
    }

    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    public CircleView(boolean selected, float x, float y, int number) {
        this.selected = selected;
        this.number = number;
        this.x = x;
        this.y = y;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
